/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package module2.exercise3.banking;

/**
 *
 * @author trang
 */
public class TestBanking {
    public static void main(String[] args) {

        Account curr_balance =new Account(500.00);

        System.out.println ("Creating an account with a " + curr_balance.getBalance() + " balance");
        System.out.println("Withdraw " + curr_balance.withdraw(150.00));
        System.out.println("Deposit " + curr_balance.deposit(22.50));
        System.out.println("Withdraw " + curr_balance.withdraw(47.62));
        System.out.println("The account has a balance of " + curr_balance.getBalance());
      }
}

